#pragma once
#include <CIniFile.h>

class CParameters {
 public:
  int zsteps, VDsteps;
  double zfrom, zto;
  double VDfrom, VDto;

  double z, VD, dz, dVD, likelihood;

  void Setup(CIniFile& ini) {
    zfrom = ini.getdouble("zfrom");
    zto = ini.getdouble("zto");
    zsteps = ini.getdouble("zsteps");

    VDfrom = ini.getdouble("VDfrom");
    VDto = ini.getdouble("VDto");
    VDsteps = ini.getdouble("VDsteps");
    
    VD = VDfrom;
    dVD = (VDto - VDfrom)/VDsteps;
    z = zfrom;
    dz = (zto - zfrom)/zsteps;
  }


};
